/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import entity.OutletSeatArea;
import entity.Timeslot;
import Helper.Helper_Area;
import javax.ejb.Remote;
import java.util.*;

/**
 *
 * @author Lu Xiaodi
 */
@Remote
public interface AreaSBRemote {

    public java.lang.String addArea(java.lang.Long outletId, java.lang.String areaName, String pathName);

    public java.lang.String removeArea(java.lang.Long id, java.lang.Long areaId);

    public java.util.List<entity.OutletSeatArea> getAllAreas(java.lang.Long outletId);

    public OutletSeatArea getAreaByAreaName(List<OutletSeatArea> areaList, String areaName);
    
    public List<Helper_Area> getAllHelperAreas(Long outletId);
    
    public List<Integer> retrieveTime(List<Timeslot> time);

    public void addNumDinerChoice(java.lang.Long areaId, java.lang.Integer num);

    public void deleteNumDinerChoice(java.lang.Long areaId, java.lang.Integer num);

    public java.util.List<java.lang.Integer> getNumDiners(java.lang.Long areaId);

    public java.lang.String addArea(java.lang.Long outletId, java.lang.String areaName, java.lang.String pathName, java.util.List<java.lang.Integer> numDinerAllowed);

    public void saveArea(Helper.Helper_Area helper);

}
